﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MallDiscount.Data
{
    public class Mall
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string MallName { get; set; }//商场名
        [Required]
        public string MallImageSrc { get; set; }//商场外观图地址
        [Required]
        public string MallAddress { get; set; }//商场地址
        [Required]
        public float Lon { get; set; }//商场所在的经度
        [Required]
        public float Lat { get; set; }//商店所在的维度
        [Required]
        public CommArea InCommArea { get; set; }//商场所属商圈
        [Required]
        public DateTime SubmitTime { get; set; }//商场信息提交时间
        public string Note { get; set; }
        
    }
}
